package com.matt.foundation.vo;

import com.dotflat.util.excelUtil.Excel;
import lombok.Data;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/8/24
 * *******************************
 */
@Data
public class ClassesCheckRecordVo {

    @Excel(name = "班级名称")
    private String classesName;

    @Excel(name = "学生签到记录")
    private List<ChildrenCheckRecordVo> childrenList;

    public static ClassesCheckRecordVo of(String classesName, List<ChildrenCheckRecordVo> childrenExtendInfoList) {
        ClassesCheckRecordVo vo = new ClassesCheckRecordVo();
        vo.setClassesName(classesName);
        vo.setChildrenList(childrenExtendInfoList);
        return vo;
    }
}
